﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Top.aspx.cs" Inherits="admin_frame_Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../css/admin.css" rel="stylesheet" type="text/css">
    <script src="../../plug/datepicker/jquery-1.4.2.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="193" valign="top">
                        <img src="../images/logo.gif" alt="">
                    </td>
                    <td>
                        <div class="nav">
                            <ul class="TabBarLevel1" id="TabPage1">
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate>
                                        <li id="Tab<%#Eval("num")%>"><a href='Left.aspx?id=<%#Eval("Id")%>' target="leftFrame" onclick="javascript:switchTab('Tab<%#Eval("num") %>');"><%#Eval("Name") %></a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="righttop">
            <ul>
                <li class="righttopleft"></li>
                <li class="righttopsms">
                    <img src="../images/mail.gif"/>
                    <a href="#" target="_blank">您有&nbsp;<asp:Label ID="lblSMSCount" runat="server" Text="0" 
                        Font-Underline="True" Font-Bold="True"></asp:Label> 条未读信息</a>
                </li>
                <li class="righttopright"></li>
            </ul>
        </div>
    </div>


    <script language="JavaScript" type="text/javascript">
        //Switch Tab Effect
        function switchTab(tabid) {
            $("#TabPage1 li").removeClass('Selected');
            $("#TabPage1").find("#" + tabid).addClass('Selected');
        }
    </script>

    </form>
</body>
</html>
